﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Collections;

namespace PTA.NET
{
    public partial class Password : DevExpress.XtraEditors.XtraForm
    {
        public Password()
        {
            InitializeComponent();
        }

        private void Password_Load(object sender, EventArgs e)
        {
            txtPassword.Focus();
        }


        public string OK = "";
        private void btnOK_Click(object sender, EventArgs e)
        {
            if (txtPassword.Text == "pta.net")
            {
                OK = "OK";
                this.Close();
            }
            else
            {
                lblSaiPass.Visible = true;
                txtPassword.Text = "";
            }
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}